﻿<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">

<head>

<meta http-equiv="Content-Type" content="text/html;charset=utf-8;" />

<link rel="stylesheet" type="text/css" href="__PUBLIC__/css/inform.css">

<script type="text/javascript" src="__PUBLIC__/js/jquery-1.11.0.min.js" ></script>

<script type="text/javascript" src="__PUBLIC__/js/Calendar3.js" ></script>

</head>

<script type="text/javascript">

	$(function(){

	

		$('#submitkey').click(function(){

			$('#search').submit();



		});

	})

</script>

<body>
<div class="main_wrap">
<div class="zt" id="zt">
	<include file="Public/leftMenu" />
	
	<div class="yinfor">
		<div class="center_wrap">
			<div class="center_title"><h1>房间管理</h1></div>
			<p class="lr_title">上麦记录</p>

			<form method='get' id="search" name="search" action="{:U('wheat')}">

			<table cellspacing=0 cellpadding=0 class="gift_search">


					<tr style="height:25px">

					<td>从<input name="start_date" type="text" style="border:1px solid #ddd;" id="start_date" size="10" value="{$startTime}" maxlength="10" onclick="new Calendar().show(this);" readonly="readonly" /><font style="font-size:12px;">&nbsp至&nbsp</font>

							<input name="end_date" type="text" id="end_date" size="10" style="border:1px solid #ddd;" value="{$endTime}" maxlength="10" onclick="new Calendar().show(this);" readonly="readonly" />&nbsp&nbsp<input id="submitkey" type="button" value="查询" style="background-color:#73909E;border:none;color:#fff;"/></td>

						</tr>		
			</table>

			</form>

			<table class="gift_detail" cellspacing=0 cellpadding=0 >

			<tr class="detailtr"><td style="border-left:1px solid #C8C8C8;"><strong>日期</strong></td><td><strong>上麦时长（单位：分钟）</strong></td><td><strong>详细</strong></td></td></tr>



			<empty name="data">

			<tr height='33'><td colspan=6>无记录</td></tr>

			</empty>


			<volist name='data' id='vo'>
			<tr height='33'><td>{$vo.ddate}</td><td>{$vo.nminute}（合<?php echo round($vo['nminute']/60,1);?>小时）</td><td><a href="__ROOT__/index.php/Home/Room/wheatinfor?time={$vo.ddate}" >查看明细</a></td></tr>
			</volist>

			<notempty name="data">
			<tr height='33'><td colspan=3>总计：{$sum}（<?php echo round($sum/60,1);?>小时）</td></tr>
			</notempty >


			</table>

			{$list}
		</div>


	</div>
</div>
</div>
</body>

</html>